//
//  PopSelectView.h
//  WindRunner
//
//  Created by leeqb on 10/26/14.
//  Copyright (c) 2014 poweropt. All rights reserved.
//

@protocol PopSelectDelegate <NSObject>

- (void)optionSelected:(NSInteger)index text:(NSString *)text;

@end

@interface PopSelectView : UIView<UITableViewDelegate, UITableViewDataSource>
{
    NSArray *_options;
    UIView *_baseView;
}

@property (nonatomic, assign) id<PopSelectDelegate> delegate;

- (id)initWithOptions:(NSArray *)options;
- (void)show;
- (void)hide;

@end
